﻿--NPC售卖品数据
--#include "..\..\language\LangCode.txt"

--{ npc的配置id, { npc商人显示标签, {售卖品ID,...} }, ... }

--[[		-- 新版本例子
items = 
{
	{
		itemId = 1,   	--物品id
		consumes = 		--消耗
		{
			{type = 3, id = 0, num = 10000, },   
		},
		dayslimit = {3,5},			--天数限制
		updateTime = 1,			--多少时间更新一次，比如1天就是每天更新
		limitNum = 5,			--限购5个，0表示无限购
	},
}

]]

NPCStore = {
	--包裹商店
--[[
	挂机设置关联的药水若有天数调整需要与客户端设置同步
	svn://svn1.devel.xuncun.com:3692/cq22_cn/client/runtime/assets/scripts/game/setting/setting_data.lua
]]--

	{
		npcid = 0,
		{   
			selltip = Lang.NPCStoreTags.c00019,
			items = 
			{
				{ itemId = 4206, consumes = { { type = 3, id = 0, count = 100000, }, }, dayslimit = { 0, 2 }, limitNum = 0, updateTime = 1 },
				{ itemId = 4207, consumes = { { type = 3, id = 0, count = 200000, }, }, dayslimit = { 3, 10 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4208, consumes = { { type = 3, id = 0, count = 300000, }, }, dayslimit = { 11, 39 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4209, consumes = { { type = 3, id = 0, count = 400000, }, }, dayslimit = { 40, 59 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4210, consumes = { { type = 3, id = 0, count = 500000, }, }, dayslimit = { 60, -1 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4191, consumes = { { type = 3, id = 0, count = 20000, }, }, dayslimit = { 0, 3 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4192, consumes = { { type = 3, id = 0, count = 40000, }, }, dayslimit = { 4, 19 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4193, consumes = { { type = 3, id = 0, count = 60000, }, }, dayslimit = { 20, 39 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4194, consumes = { { type = 3, id = 0, count = 80000, }, }, dayslimit = { 40, 59 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4195, consumes = { { type = 3, id = 0, count = 100000, }, }, dayslimit = { 60, -1 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4266, consumes = { { type = 3, id = 0, count = 10000, }, }, dayslimit = { 0, -1 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4267, consumes = { { type = 3, id = 0, count = 10000, }, }, dayslimit = { 0, -1 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4303, consumes = { { type = 3, id = 0, count = 1000000, }, }, dayslimit = { 0, -1 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4304, consumes = { { type = 3, id = 0, count = 10000000, }, }, dayslimit = { 0, -1 }, limitNum = 0,  updateTime = 1 },
			}
		},
	},
--武器商
	{
		npcid = 1,
--		{
--			selltip = Lang.NPCStoreTags.c00001,
--			items = { },
--		},
	},

--防具商
	{
		npcid = 2,
--		{
--			selltip = Lang.NPCStoreTags.c00002,
--			items = { },
--		},
--		{
--			selltip = Lang.NPCStoreTags.c00003,
--			items = { },
--		},
	},  

--首饰商
	{
		npcid = 3,
--		{
--			selltip = Lang.NPCStoreTags.c00004,
--			items = { },
--		},
--		{
--			selltip = Lang.NPCStoreTags.c00005,
--			items = { },
--		},
--		{
--			selltip = Lang.NPCStoreTags.c00006,
--			items = { },
--		},
	},

--杂货商
	{
		npcid = 4,
		{
			selltip = Lang.NPCStoreTags.c00007,
			items = 
			{
				{ itemId = 4266, consumes = { { type = 3, id = 0, count = 10000, }, }, dayslimit = { 0, -1 }, },
				{ itemId = 4267, consumes = { { type = 3, id = 0, count = 10000, }, }, dayslimit = { 0, -1 }, },
			}
		},
	},
 
--药店
	{
		npcid = 5,
		{
			selltip = Lang.NPCStoreTags.c00017,
			items = 
			{
				{ itemId = 4206, consumes = { { type = 3, id = 0, count = 100000, }, }, dayslimit = { 0, 2 }, limitNum = 0, updateTime = 1 },
				{ itemId = 4207, consumes = { { type = 3, id = 0, count = 200000, }, }, dayslimit = { 3, 10 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4208, consumes = { { type = 3, id = 0, count = 300000, }, }, dayslimit = { 11, 39 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4209, consumes = { { type = 3, id = 0, count = 400000, }, }, dayslimit = { 40, 59 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4210, consumes = { { type = 3, id = 0, count = 500000, }, }, dayslimit = { 60, -1 }, limitNum = 0,  updateTime = 1 },
			}
		},
		{
			selltip = Lang.NPCStoreTags.c00018,
			items = 
			{
				{ itemId = 4191, consumes = { { type = 3, id = 0, count = 20000, }, }, dayslimit = { 0, 3 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4192, consumes = { { type = 3, id = 0, count = 40000, }, }, dayslimit = { 4, 19 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4193, consumes = { { type = 3, id = 0, count = 60000, }, }, dayslimit = { 20, 39 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4194, consumes = { { type = 3, id = 0, count = 80000, }, }, dayslimit = { 40, 59 }, limitNum = 0,  updateTime = 1 },
				{ itemId = 4195, consumes = { { type = 3, id = 0, count = 100000, }, }, dayslimit = { 60, -1 }, limitNum = 0,  updateTime = 1 },
			}
		},
	},
	
--书店老板
	{
		npcid = 6,
		{
			selltip = Lang.NPCStoreTags.c00020,
			items = 
			{
				{ itemId = 4266, consumes = { { type = 3, id = 0, count = 100000, }, }, dayslimit = { 0, -1 }, },
			}
		},
		{
			selltip = Lang.NPCStoreTags.c00010,
			items = 
			{
				{ itemId = 4266, consumes = { { type = 3, id = 0, count = 100000, }, }, dayslimit = { 0, -1 }, },
			}
		},
		{
			selltip = Lang.NPCStoreTags.c00011,
			items = 
			{
				{ itemId = 4266, consumes = { { type = 3, id = 0, count = 100000, }, }, dayslimit = { 0, -1 }, },
			}
		},
	},
	
--英雄商店
	{
		npcid = 7,
--		{
--			selltip = Lang.NPCStoreTags.c00008,
--			items = { 350,991,349,990,345,338,344,337,343,336,342,335 },
--		},
--		{
--			selltip = Lang.NPCStoreTags.c00012,
--			items = {7, 14, 21,6, 8, 9, 15, 16, 22, 23,},
--		},
--		{
--			selltip = Lang.NPCStoreTags.c00013,
--			items = { 12, 19, 26,11, 18, 25,13, 20, 27 },
--		},
	},
--购买篝火相关物品	
	{
		npcid = 8,
--		{
--			selltip = Lang.NPCStoreTags.c00014,
--			items = { 2001,2002,2003,2004,2005,2013 },
--		},
	},
}